<gm:page title="Sample - Detail" authenticate="false">

  <!--
    The detail application demonstrates using the item module to display
    an individual item in a feed.
    @author: GME Team
  -->

  <div class="gm-app-header">
    <h1>Detail</h1>
    Click on an item in the feed to see a detailed view of that item.
  </div>

  <table>
    <tr valign="top">
      <td style="padding-right:15px" valign="top">
        <gm:list id="myList" data="http://data.vast.com/listings/-/item_vehicle/boat?keywords=AMBASSADOR+yacht&output=xml&price=150000-200000000" pagesize="10"/>
      </td>
      <td valign="top">
        <gm:item id="myItem" template="myItemTemplate">
          <gm:handleEvent src="myList"/>
        </gm:item>
      </td>
    </tr>
  </table>

  <gm:template id="myItemTemplate">
    <div repeat="true">
      <hr size="1"/>
      <gm:html ref="atom:content"/>
    </div>
  </gm:template>

</gm:page>
